/**
  ******************************************************************************
  * @file    USR_WiFi232_X.h 
  * @author  
  * @version V1.0
  * @date    2017-4-16
  * @brief   
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */
#ifndef __USR_WiFi232_X_H
#define __USR_WiFi232_X_H
#include "common.h"
#define WiFi232_READY_PIN    GPIO_Pin_0  
#define WiFi232_READY_PORT   GPIOC

#define WiFi232_LINK_PIN     GPIO_Pin_1
#define WiFi232_LINK_PORT		 GPIOB

#define WiFi232_RST_PIN      GPIO_Pin_7
#define WiFi232_RST_PORT		 GPIOC

#define WiFi232_RELOAD_PIN   GPIO_Pin_1
#define WiFi232_RELOAD_PORT	 GPIOC

#define  USR_WiFi232_B_nReady()	GPIO_ReadInputDataBit(WiFi232_READY_PORT,WiFi232_READY_PIN)
#define  USR_WiFi232_B_nLink()	GPIO_ReadInputDataBit(WiFi232_LINK_PORT,WiFi232_LINK_PIN)
#define  USR_WiFi232_B_RELOAD()	GPIO_ReadInputDataBit(WiFi232_RELOAD_PORT,WiFi232_RELOAD_PIN)

uint8_t Read_USR_WiFi232_nReady(void);
uint8_t Read_USR_WiFi232_nLink(void);
void    USR_WiFi232_Rst(void);
uint8_t Read_USR_WiFi232_Reload(void);
void    USR_WiFi232_Init(void);

#endif

